package com.guochenglang.www.pojo;

import com.guochenglang.www.pojo.annotate.Table;

/**
 * 附件表
 *
 * @author GuoChenglang
 */
@Table("files")
public class Files {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 文章id
     */
    private Integer articleId;
    /**
     * 存储地址
     */
    private String address;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public Files(Integer id, String address, Integer articleId) {
        this.id = id;
        this.address = address;
        this.articleId = articleId;
    }

    public Files() {
    }
}
